<template>
  <!-- 发现音乐 -->
  <div>
    <ul class="box1">
      <router-link to="/music/dation" tag="li" active-class="ab">个性推荐</router-link>
      <router-link to="/music/playlist" tag="li" active-class="ab">歌单</router-link>
      <router-link to="/music/station" tag="li" active-class="ab"> 主播电台</router-link>
      <router-link to="/music/list" tag="li" active-class="ab">排行榜</router-link>
      <router-link to="/music/singer" tag="li" active-class="ab">歌手</router-link>
      <router-link to="/music/latest" tag="li" active-class="ab">最新音乐 </router-link>
    </ul>
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  data() {
    return {
      fontSize: "24",
    };
  },
  methods: {},
};
</script>
<style scoped>
.box1 {
  position: fixed;
  top: 70px;
  left: 10px;
  margin-left: 120px;
  padding-left: 100px;
  display: flex;
  z-index: 500;
  width: 100%;
  background-color: rgb(255, 250, 255);
}

ul li {
  font-size: 24px;
  color: #373737;
  list-style: none;
  margin: 0 40px;
}
ul li:hover {
  color: #000;
  cursor: pointer;
}
.ab {
  font-size: 30px;
  font-weight: 700;
  border-bottom: 3px solid red;
}
</style>
